<?php
//require_once '../../../tabs.php';

//echo "pase11";



require_once('../../metodosGlobales.php');
require_once('../../metodosGlobalesConsultasSQL.php');

require_once("../../Logs/logs.php");

if($_POST)
{
    $constRutaRaiz=$_POST['hzHiddenValorDirRoot'];
}

session_start( ) ;
?>
 
 	<script>
	$(function() {
		$( "button, input:submit, input:button, input:reset", ".demo" ).button();
});
	</script>
  
	  <table width="100%" align="center">
	  		<tr>
	  			<td width="100%" align="center">
				      <div >
				          <?php
				     
                                  include ("grid.php");
                                  //write_log("INCLUDE GRID: default.php");				            
						 ?>
				      </div>
				</td>
			</tr>
			<tr>
				<td width="100%" align="center">
				      <div style="color:LightBlue; font-size:8px;">
			          
				          <?php       
				          
                                 include ("detail.php");
                                 //write_log("INCLUDE DETAIL: default.php");
				        
				        /* PARA SEPARAR POR ESPECIALIDAD 		
 							if($_SESSION['idEspecialidad']==2){   //Neurologia      
				                 include ("detail.php");
				          	}else{
								if ($_SESSION['idEspecialidad']==5){  //Cardiologia
									include ("detailCardio.php");
								}
							}
                            */
				          ?>
				      </div>
				</td>
			</tr>
			<tr>
				<td height="8px">
				</td>
			</tr>
			<tr>
                <td align="center">
                    <table align="center">
                        <tr>
              				<td  align="center">      
            				      <div class="demo">              
            							 <button  id="getselected" style="width:120px;  font-size:10px;" name="getSel" value="">Marcar Paciente</button>
            				       </div> 
            				</td>
                            <td width="10px">
                            </td>
            				<td  align="center">      
            				      <div class="demo">              
            				            <button id="getselected1" style="width:120px;  font-size:10px;" name="getSel1" value="">Obtener HCD</button>     
                  				 			
            				       </div> 
            				</td>
                        </tr>
                    </table>            
              </td>


			</tr>	
			<tr>
				<td>
				    <div>
				          <br/>
				    </div>
				 </td>
			</tr>	 
			<tr>
				 <td>   
				      <?php //tabs(array("grid.php","detail.php"));?>
	  			</td>
	  		 </tr>
	   </table>

  